<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'complaint-master-form',
	'enableAjaxValidation' => false,
));
?>

	<p class="note">
		<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
	</p>

	<?php echo $form->errorSummary($model); ?>

		<div class="row">
		<?php echo $form->labelEx($model,'tempcom_no'); ?>
		<?php echo $form->textField($model, 'tempcom_no', array('maxlength' => 20)); ?>
		<?php echo $form->error($model,'tempcom_no'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'comp_no'); ?>
		<?php echo $form->textField($model, 'comp_no', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'comp_no'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Name'); ?>
		<?php echo $form->textField($model, 'Name', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'Name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'City'); ?>
		<?php echo $form->textField($model, 'City', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'City'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'State'); ?>
		<?php echo $form->textField($model, 'State', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'State'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'District'); ?>
		<?php echo $form->textField($model, 'District', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'District'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Cell_No'); ?>
		<?php echo $form->textArea($model, 'Cell_No'); ?>
		<?php echo $form->error($model,'Cell_No'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Contact_No'); ?>
		<?php echo $form->textField($model, 'Contact_No', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'Contact_No'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'University'); ?>
		<?php echo $form->textField($model, 'University', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'University'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'University_email'); ?>
		<?php echo $form->textField($model, 'University_email', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'University_email'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Complaint_against'); ?>
		<?php echo $form->textArea($model, 'Complaint_against'); ?>
		<?php echo $form->error($model,'Complaint_against'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Call_date'); ?>
		<?php echo $form->textField($model, 'Call_date'); ?>
		<?php echo $form->error($model,'Call_date'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'login_name'); ?>
		<?php echo $form->textField($model, 'login_name', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'login_name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'parent_name'); ?>
		<?php echo $form->textField($model, 'parent_name', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'parent_name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'parent_phno'); ?>
		<?php echo $form->textField($model, 'parent_phno', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'parent_phno'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'college_name'); ?>
		<?php echo $form->textField($model, 'college_name', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'college_name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'call_type'); ?>
		<?php echo $form->textField($model, 'call_type', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'call_type'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Gender'); ?>
		<?php echo $form->textField($model, 'Gender', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'Gender'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Police_Station'); ?>
		<?php echo $form->textField($model, 'Police_Station', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'Police_Station'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Victim_Name'); ?>
		<?php echo $form->textField($model, 'Victim_Name', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'Victim_Name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Relation'); ?>
		<?php echo $form->textField($model, 'Relation', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'Relation'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'Supervisor'); ?>
		<?php echo $form->textField($model, 'Supervisor', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'Supervisor'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'caller_email'); ?>
		<?php echo $form->textField($model, 'caller_email', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'caller_email'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'comptype'); ?>
		<?php echo $form->textField($model, 'comptype', array('maxlength' => 150)); ?>
		<?php echo $form->error($model,'comptype'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'freezecomp'); ?>
		<?php echo $form->textField($model, 'freezecomp', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'freezecomp'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'dma'); ?>
		<?php echo $form->textField($model, 'dma', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'dma'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'dugc'); ?>
		<?php echo $form->textField($model, 'dugc', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'dugc'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'encryptdata'); ?>
		<?php echo $form->textField($model, 'encryptdata', array('maxlength' => 255)); ?>
		<?php echo $form->error($model,'encryptdata'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'punishmentdetails'); ?>
		<?php echo $form->textField($model, 'punishmentdetails', array('maxlength' => 5000)); ?>
		<?php echo $form->error($model,'punishmentdetails'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndcontact_no'); ?>
		<?php echo $form->textField($model, 'ndcontact_no', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'ndcontact_no'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndName'); ?>
		<?php echo $form->textField($model, 'ndName', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'ndName'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndcell_no'); ?>
		<?php echo $form->textField($model, 'ndcell_no', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'ndcell_no'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndVICTIM_NAME'); ?>
		<?php echo $form->textField($model, 'ndVICTIM_NAME', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'ndVICTIM_NAME'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndparent_name'); ?>
		<?php echo $form->textField($model, 'ndparent_name', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'ndparent_name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndParent_Phno'); ?>
		<?php echo $form->textField($model, 'ndParent_Phno', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'ndParent_Phno'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndcaller_email'); ?>
		<?php echo $form->textField($model, 'ndcaller_email', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'ndcaller_email'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'ndcomplaint_against'); ?>
		<?php echo $form->textArea($model, 'ndcomplaint_against'); ?>
		<?php echo $form->error($model,'ndcomplaint_against'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'adminpass'); ?>
		<?php echo $form->textField($model, 'adminpass', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'adminpass'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'studentpass'); ?>
		<?php echo $form->textField($model, 'studentpass', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'studentpass'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'duplicatecomp'); ?>
		<?php echo $form->textField($model, 'duplicatecomp', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'duplicatecomp'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'drp'); ?>
		<?php echo $form->textField($model, 'drp', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'drp'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'reactivation'); ?>
		<?php echo $form->textField($model, 'reactivation', array('maxlength' => 200)); ?>
		<?php echo $form->error($model,'reactivation'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'desk_name'); ?>
		<?php echo $form->textField($model, 'desk_name', array('maxlength' => 200)); ?>
		<?php echo $form->error($model,'desk_name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'name_status'); ?>
		<?php echo $form->textField($model, 'name_status', array('maxlength' => 200)); ?>
		<?php echo $form->error($model,'name_status'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'reg_authority'); ?>
		<?php echo $form->textField($model, 'reg_authority', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'reg_authority'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'reg_authority_code'); ?>
		<?php echo $form->textField($model, 'reg_authority_code', array('maxlength' => 250)); ?>
		<?php echo $form->error($model,'reg_authority_code'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'dcc'); ?>
		<?php echo $form->textField($model, 'dcc', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'dcc'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'actualstatus'); ?>
		<?php echo $form->textField($model, 'actualstatus', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'actualstatus'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'typeofcomplaint'); ?>
		<?php echo $form->textField($model, 'typeofcomplaint', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'typeofcomplaint'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'loginid'); ?>
		<?php echo $form->textField($model, 'loginid', array('maxlength' => 100)); ?>
		<?php echo $form->error($model,'loginid'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'di'); ?>
		<?php echo $form->textField($model, 'di', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'di'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'affdown'); ?>
		<?php echo $form->textField($model, 'affdown', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'affdown'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'fir'); ?>
		<?php echo $form->textField($model, 'fir', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'fir'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'typema'); ?>
		<?php echo $form->textField($model, 'typema', array('maxlength' => 500)); ?>
		<?php echo $form->error($model,'typema'); ?>
		</div><!-- row -->


<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->